package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class SaleOrderOutDetailActivity extends UMWindowActivity {

	protected UMWindow SaleOrderOutDetail = null;
protected UMScrollView Scrollview_viewPage0 = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label7 = null;
protected UMLabel label8 = null;
protected UMLabel label9 = null;
protected XHorizontalLayout panel2 = null;
protected UMLabel label5 = null;
protected UMLabel label6 = null;
protected UMDateEdit dbilldate = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label3 = null;
protected UMLabel label4 = null;
protected UMLabel label11 = null;
protected XHorizontalLayout panel0 = null;
protected UMLabel label1 = null;
protected UMLabel label2 = null;
protected UMLabel label12 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label13 = null;
protected UMLabel label14 = null;
protected UMLabel label15 = null;
protected XHorizontalLayout panel12 = null;
protected UMLabel label10 = null;
protected UMLabel label36 = null;
protected UMLabel label37 = null;
protected XHorizontalLayout panel13 = null;
protected UMLabel label38 = null;
protected UMLabel label39 = null;
protected UMLabel label40 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label16 = null;
protected UMLabel label17 = null;
protected UMLabel label18 = null;
protected XHorizontalLayout panel6 = null;
protected UMLabel label19 = null;
protected UMLabel label20 = null;
protected UMLabel label21 = null;
protected XHorizontalLayout panel7 = null;
protected UMLabel label22 = null;
protected UMLabel label23 = null;
protected UMLabel label24 = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label25 = null;
protected UMLabel label26 = null;
protected UMLabel label27 = null;
protected XHorizontalLayout panel9 = null;
protected UMLabel label28 = null;
protected UMLabel label29 = null;
protected UMLabel label30 = null;
protected XHorizontalLayout panel10 = null;
protected UMLabel label31 = null;
protected UMLabel label32 = null;
protected UMLabel label33 = null;
protected XHorizontalLayout panel11 = null;
protected UMLabel label34 = null;
protected UMLabel label35 = null;
protected UMDateEdit dsenddate = null;

	
	protected final static int ID_SALEORDEROUTDETAIL = 776471639;
protected final static int ID_SCROLLVIEW_VIEWPAGE0 = 524583429;
protected final static int ID_VIEWPAGE0 = 1898297379;
protected final static int ID_NAVIGATORBAR0 = 299902642;
protected final static int ID_BUTTON0 = 1333355554;
protected final static int ID_LABEL0 = 1770787962;
protected final static int ID_PANEL3 = 1031211273;
protected final static int ID_LABEL7 = 131235855;
protected final static int ID_LABEL8 = 376400830;
protected final static int ID_LABEL9 = 2106933176;
protected final static int ID_PANEL2 = 253662486;
protected final static int ID_LABEL5 = 1376412896;
protected final static int ID_LABEL6 = 524608485;
protected final static int ID_DBILLDATE = 1341220163;
protected final static int ID_PANEL1 = 330836414;
protected final static int ID_LABEL3 = 1410567222;
protected final static int ID_LABEL4 = 727786573;
protected final static int ID_LABEL11 = 736317979;
protected final static int ID_PANEL0 = 475585256;
protected final static int ID_LABEL1 = 813400910;
protected final static int ID_LABEL2 = 1678414937;
protected final static int ID_LABEL12 = 1399465884;
protected final static int ID_PANEL4 = 1570073256;
protected final static int ID_LABEL13 = 307839303;
protected final static int ID_LABEL14 = 1740225063;
protected final static int ID_LABEL15 = 857258618;
protected final static int ID_PANEL12 = 379697953;
protected final static int ID_LABEL10 = 1629025390;
protected final static int ID_LABEL36 = 1234281220;
protected final static int ID_LABEL37 = 491357292;
protected final static int ID_PANEL13 = 961372141;
protected final static int ID_LABEL38 = 903784043;
protected final static int ID_LABEL39 = 387047202;
protected final static int ID_LABEL40 = 170028797;
protected final static int ID_PANEL5 = 459269135;
protected final static int ID_LABEL16 = 1592670023;
protected final static int ID_LABEL17 = 1270892950;
protected final static int ID_LABEL18 = 443927180;
protected final static int ID_PANEL6 = 712289740;
protected final static int ID_LABEL19 = 878362292;
protected final static int ID_LABEL20 = 806248661;
protected final static int ID_LABEL21 = 1740289861;
protected final static int ID_PANEL7 = 1070548637;
protected final static int ID_LABEL22 = 1603151369;
protected final static int ID_LABEL23 = 2034182438;
protected final static int ID_LABEL24 = 2142123419;
protected final static int ID_PANEL8 = 451674003;
protected final static int ID_LABEL25 = 570655575;
protected final static int ID_LABEL26 = 1187199322;
protected final static int ID_LABEL27 = 1248442983;
protected final static int ID_PANEL9 = 1886328635;
protected final static int ID_LABEL28 = 1570768061;
protected final static int ID_LABEL29 = 542534593;
protected final static int ID_LABEL30 = 569496649;
protected final static int ID_PANEL10 = 392090212;
protected final static int ID_LABEL31 = 696626401;
protected final static int ID_LABEL32 = 844568789;
protected final static int ID_LABEL33 = 1313634390;
protected final static int ID_PANEL11 = 330861739;
protected final static int ID_LABEL34 = 782249527;
protected final static int ID_LABEL35 = 1733228265;
protected final static int ID_DSENDDATE = 744089783;

	
	
	@Override
	public String getControllerName() {
		return "SaleOrderOutDetailController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("SaleOrderOutDetail",ID_SALEORDEROUTDETAIL);
  idmap.put("Scrollview_viewPage0",ID_SCROLLVIEW_VIEWPAGE0);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label7",ID_LABEL7);
  idmap.put("label8",ID_LABEL8);
  idmap.put("label9",ID_LABEL9);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("label5",ID_LABEL5);
  idmap.put("label6",ID_LABEL6);
  idmap.put("dbilldate",ID_DBILLDATE);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label3",ID_LABEL3);
  idmap.put("label4",ID_LABEL4);
  idmap.put("label11",ID_LABEL11);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("label1",ID_LABEL1);
  idmap.put("label2",ID_LABEL2);
  idmap.put("label12",ID_LABEL12);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label13",ID_LABEL13);
  idmap.put("label14",ID_LABEL14);
  idmap.put("label15",ID_LABEL15);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("label10",ID_LABEL10);
  idmap.put("label36",ID_LABEL36);
  idmap.put("label37",ID_LABEL37);
  idmap.put("panel13",ID_PANEL13);
  idmap.put("label38",ID_LABEL38);
  idmap.put("label39",ID_LABEL39);
  idmap.put("label40",ID_LABEL40);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label16",ID_LABEL16);
  idmap.put("label17",ID_LABEL17);
  idmap.put("label18",ID_LABEL18);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("label19",ID_LABEL19);
  idmap.put("label20",ID_LABEL20);
  idmap.put("label21",ID_LABEL21);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("label22",ID_LABEL22);
  idmap.put("label23",ID_LABEL23);
  idmap.put("label24",ID_LABEL24);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label25",ID_LABEL25);
  idmap.put("label26",ID_LABEL26);
  idmap.put("label27",ID_LABEL27);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("label28",ID_LABEL28);
  idmap.put("label29",ID_LABEL29);
  idmap.put("label30",ID_LABEL30);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("label31",ID_LABEL31);
  idmap.put("label32",ID_LABEL32);
  idmap.put("label33",ID_LABEL33);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("label34",ID_LABEL34);
  idmap.put("label35",ID_LABEL35);
  idmap.put("dsenddate",ID_DSENDDATE);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(SaleOrderOutDetailActivity.this);
    actionViewpage0_onload(viewPage0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#000000"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","详情"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button0_onclick"
,"padding-left","20"
,"font-size","17"
,"valign","center"
,"width","88"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","44"
,"pressed-image","btn_back_touch"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);

return navigatorbar0;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","单号"
,"height","wrap"
);
panel3.addView(label7);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel3.addView(label8);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"bindfield","vbillcode"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel3.addView(label9);

return panel3;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","单据日期"
,"height","wrap"
);
panel2.addView(label5);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel2.addView(label6);
dbilldate = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_DBILLDATE
,"color","#000000"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"margin-right","10"
,"bindfield","dbilldate"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel2.addView(dbilldate);

return panel2;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"margin-left","10"
,"color","#000000"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","行号"
,"height","22"
);
panel1.addView(label3);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel1.addView(label4);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"bindfield","crowno"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel1.addView(label11);

return panel1;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL0
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","物料编码"
,"height","wrap"
);
panel0.addView(label1);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel0.addView(label2);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"bindfield","cmaterialvid_code"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel0.addView(label12);

return panel0;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label13 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL13
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","物料名称"
,"height","wrap"
);
panel4.addView(label13);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel4.addView(label14);
label15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL15
,"bindfield","cmaterialvid_name"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel4.addView(label15);

return panel4;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL12
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","规格"
,"height","wrap"
);
panel12.addView(label10);
label36 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL36
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel12.addView(label36);
label37 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL37
,"bindfield","materialspec"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel12.addView(label37);

return panel12;
}
public View getPanel13View(final UMActivity context,IBinderGroup binderGroup) {
panel13 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL13
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label38 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL38
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","型号"
,"height","wrap"
);
panel13.addView(label38);
label39 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL39
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel13.addView(label39);
label40 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL40
,"bindfield","materialtype"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel13.addView(label40);

return panel13;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label16 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL16
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","客户"
,"height","wrap"
);
panel5.addView(label16);
label17 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL17
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel5.addView(label17);
label18 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL18
,"bindfield","ccustomerid_name"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel5.addView(label18);

return panel5;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","应发数量"
,"height","wrap"
);
panel6.addView(label19);
label20 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL20
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel6.addView(label20);
label21 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL21
,"bindfield","nastnum"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel6.addView(label21);

return panel6;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label22 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL22
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","应发主数量"
,"height","wrap"
);
panel7.addView(label22);
label23 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL23
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel7.addView(label23);
label24 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL24
,"bindfield","nnum"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel7.addView(label24);

return panel7;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label25 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL25
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","单位"
,"height","wrap"
);
panel8.addView(label25);
label26 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL26
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel8.addView(label26);
label27 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL27
,"bindfield","castunitid_name"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel8.addView(label27);

return panel8;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label28 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL28
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","主单位"
,"height","wrap"
);
panel9.addView(label28);
label29 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL29
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel9.addView(label29);
label30 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL30
,"bindfield","cunitid_name"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel9.addView(label30);

return panel9;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label31 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL31
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","批次"
,"height","wrap"
);
panel10.addView(label31);
label32 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL32
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel10.addView(label32);
label33 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL33
,"bindfield","vbatchcode"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"margin-right","10"
,"height","43"
);
panel10.addView(label33);

return panel10;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"width","fill"
,"valign","center"
,"background-image","list_row_down1.png"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label34 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL34
,"margin-left","10"
,"color","#000000"
,"heightwrap","22.0"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"content","发货日期"
,"height","wrap"
);
panel11.addView(label34);
label35 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL35
,"margin-left","10"
,"color","#000000"
,"background","#c0c0c0"
,"width","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"margin-right","10"
,"height","35"
);
panel11.addView(label35);
dsenddate = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_DSENDDATE
,"color","#000000"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"margin-right","10"
,"bindfield","dsenddate"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
panel11.addView(dsenddate);

return panel11;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","wrap"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
viewPage0.addView(panel3);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
viewPage0.addView(panel2);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
viewPage0.addView(panel1);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
viewPage0.addView(panel4);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
viewPage0.addView(panel12);
View panel13 = (View) getPanel13View((UMActivity)context,binderGroup);
viewPage0.addView(panel13);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
viewPage0.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
viewPage0.addView(panel6);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
viewPage0.addView(panel7);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
viewPage0.addView(panel8);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
viewPage0.addView(panel9);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
viewPage0.addView(panel10);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
viewPage0.addView(panel11);

return viewPage0;
}
public View getScrollview_viewPage0View(final UMActivity context,IBinderGroup binderGroup) {
Scrollview_viewPage0 = (UMScrollView)ThirdControl.createControl(new UMScrollView(context),ID_SCROLLVIEW_VIEWPAGE0
,"layout","vbox"
,"width","fill"
,"hscrollenabled","disabled"
,"layout-type","vbox"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
Scrollview_viewPage0.addView(viewPage0);

return Scrollview_viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
SaleOrderOutDetail = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_SALEORDEROUTDETAIL
,"layout","vbox"
,"controller","SaleOrderOutDetailController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View Scrollview_viewPage0 = (View) getScrollview_viewPage0View((UMActivity)context,binderGroup);
SaleOrderOutDetail.addView(Scrollview_viewPage0);

return (UMWindow)SaleOrderOutDetail;
}

	
	public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.shouDataDetail()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.back()",UMActivity.getViewId(control),args);
}


}
